<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>购物车表格</title>
</head>
<body>
 <table border="1" width="400"  height="200">
   <tr>
     <th colspan="5" align="center" valign="center">购物车</th>
   </tr>
   <tr>
     <th rowspan="2">名称</th>
     <th colspan="3">2016-11-22</th>
     <th rowspan="2">小计</th>
   </tr>
   <tr>
     <th>重量</th>
     <th colspan="2">单价</th>
   </tr>
   <tr>
     <td>苹果</td>
     <td align="center" valign="center">3公斤</td>
     <td colspan="2" align="center" valign="center">5元/公斤</td>
     <td align="center" valign="center">15</td>
   </tr>
   <tr>
     <td>香蕉</td>
     <td align="center" valign="center">2公斤</td>
     <td colspan="2" align="center" valign="center">6元/公斤</td>
     <td align="center" valign="center">12元</td>
   </tr>
   <tr>
     <td colspan="4" align="center" valign="center">总价</td>
     <td align="center" valign="center">27元</td>
   </tr>
 </table>
</body>
</html>
